cmake_minimum_required(VERSION 3.0.0)

project(testOpencvNew)

find_package(OpenCV REQUIRED)
 
# exe: 
add_executable(
    demo amorDetect.cpp
)

target_include_directories(
    demo
    PUBLIC ${OpenCV_INCLUDE_DIRS}
)
target_link_libraries(
    demo
    ${OpenCV_LIBS}
)